<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户信息</title>
</head>
{% include 'menu.html' %}
<body>
<div>
<center>
	<h1><p class="text-info">密码更改</p></h1>
	<form action="/change_passwd" method='post'>
	<table width="40%" border="0">
	{% if error %}
    	<tr>
        	<td colspan="2">
            <div class="alert alert-error">
            <button class="close" data-dismiss="alert">&times;</button>
            <strong>{{error}}</strong>
            </div>
            </td>
        </tr>
	{% endif %}
    	<tr>
			<td width="29%"><strong><p class="text-info">用户名</p></strong></td><td width="71%"><strong><p class="text-info">{{ username }}</p></strong></td>
        </tr>
        <tr>
            <td>原密码</td><td><input type="text" name="original_passwd"  /></td>
        </tr>
        <tr>
            <td>新密码</td><td><input type="text" name="passwd1"  /></td>
        </tr>
        <tr>
            <td>重复新密码</td><td><input type="text" name="passwd2"  /></td>
        </tr>
    	<tr>
        	<td colspan="2"><hr></td>
        </tr>
        <tr>
            <td colspan="2"><input type="submit" value="修改密码" class="btn btn-primary" /></td>
        </tr>
    </table>
	</form>
</center>
</div>
</body>
{% include 'tail.html' %}
</html>
